#include<iostream>
#include"func.h"
#include<opencv2/imgcodecs.hpp>
#include<opencv2/highgui.hpp>
#include<opencv2/imgproc.hpp>
#include<opencv2/objdetect.hpp>
#include<string>
#include<vector>

using namespace std;
using namespace cv;

int main()
{
    menu();//菜单显示函数
    int select;//选择功能变量
    while(1)//开始循环
    {
        cin>>select;
        switch (select)
        {
            case 1:

                BGRselector();

            break;
        break;

            case 2:

                HSVselector();
                
            break;
        break;

            default:
            
                cout<<"请重新选择"<<endl;

            break;
        break;
        }
    }

    

    system("pause");
    return 0;
}